home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / komercni software / miton / SystemMechanic7Pro.exe / {app} / smhtml.dll / 1033 / HTML / REPAIREDPROBLEMWIDGET.JS < prev    next >
Text File  |  2008-01-24  |  701b  |  30 lines

  1.  
  2.  
  3.  
  4.  
  5. function RepairedProblemTable()
  6. {
  7.   this.ID = "tblRepair";
  8.   this.tbl = new DataTable();
  9.   this.tbl.ID = this.ID;
  10.    this.tbl.Cellspacing = "0";
  11.   this.tbl.Cellpadding = "0";
  12.   this.tbl.Width = "100%";
  13.   this.tbl.Class = "module_items tb_recently_repaired";
  14.   this.tbl.Border = "0";
  15.   
  16.   this.Add = __RepairedProblemAdd;
  17.   
  18.   
  19.   function __RepairedProblemAdd(Problem ,Time)
  20.   {
  21.    // var img = "<img src=\"H_icon_checkmark.gif\" width=\"16\" height=\"12\" />";
  22.     
  23.     var time = "<div style=\"text-align:right;\" >" + Time + "</div>";
  24.     this.tbl.Add( Problem, time);
  25.     
  26.     //alert(this.tbl.Count());
  27.     
  28.     this.tbl.ChangeClassInRowByIndex(0, "toprow");
  29.   }
  30. }